﻿using SdlDotNet.Graphics.Sprites;
using SdlDotNet.Input;

namespace DC2012
{
    public partial class CoreEditor
    {
        private void ConstructCursor()
        {
            Sprite asx = GetCursorSprite();
            asx.X = Mouse.MousePosition.X;
            asx.Y = Mouse.MousePosition.Y;

            if (selectedTile != null)
            {
                selectedTile.X = Mouse.MousePosition.X + 20;
                selectedTile.Y = Mouse.MousePosition.Y + 20;
            }
        }
    }
}
